<head>
  <meta name="layout" content="doc2"/>
  <title>用户注册</title>
</head>

<body>
<div class="yui-g">
  <div class="yui-u first">
    <div class="reg_desc">
      <ul class="endorsements">
        <li>
          <table class="clearfix">
            <tr><td>
              <img class="headImg" alt="" src="http://profile.ak.facebook.com/v223/1156/105/q644415522_8918.jpg"/>
            </td><td>
              <img src="${createLinkTo(dir: 'images', file: 'quote1.gif')}"/>这正是我长久期待的网站! <img src="${createLinkTo(dir: 'images', file: 'quote2.gif')}"/>
              <span class="byline">- <a target="_blank" href="http://uggamugga.blogspot.com/2009/03/wee-web.html">Ugga Mugga</a></span>
            </td></tr>
          </table>
        </li>
        <li>
          <table class="clearfix">
            <tr><td>
              <img class="headImg" alt="" src="http://profile.ak.facebook.com/v224/990/49/q730538133_7515.jpg"/>
            </td><td>
              <img src="${createLinkTo(dir: 'images', file: 'quote1.gif')}"/>说实话，我根本没有时间为我的宝贝建立博客并为他制造虚拟人气，我最需要的是把宝贝抚养好，不是吗？这个网站恰好满足了我的需求。<img src="${createLinkTo(dir: 'images', file: 'quote2.gif')}"/>
              <span class="byline">- <a target="_blank" href="http://www.deardrmoz.com/index.php/2008/10/28/wee-web-facebook-for-baby/">Dear Dr. Moz Baby Blog</a></span>
            </td></tr>
          </table>
        </li>
        <li>
          <table class="clearfix">
            <tr><td>
              <img class="headImg" alt="" src="http://profile.ak.facebook.com/profile6/1098/116/q638526410_3947.jpg"/>
            </td><td>
              <img src="${createLinkTo(dir: 'images', file: 'quote1.gif')}"/>这是一个富有创新意识的网站，很明显，对育婴这个群体做了深入的研究。<img src="${createLinkTo(dir: 'images', file: 'quote2.gif')}"/>
              <span class="byline">- <a target="_blank" href="http://www.grandparents.com/gp/content/toys-gifts-gear/books-educational/article/what-is-wee-web.html">Grandparents.com</a></span>
            </td></tr>
          </table>
        </li>
        <li>
          <table class="clearfix">
            <tr><td>
              <img class="headImg" alt="" src="http://profile.ak.facebook.com/v223/1892/111/q510895012_8789.jpg"/>
            </td><td>
              <img src="${createLinkTo(dir: 'images', file: 'quote1.gif')}"/>我必须推荐这个网站。<img src="${createLinkTo(dir: 'images', file: 'quote2.gif')}"/>
              <span class="byline">- <a target="_blank" href="http://www.grandparents.com/gp/content/toys-gifts-gear/books-educational/article/what-is-wee-web.html">Grandparents.com</a></span>
            </td></tr>
          </table>
        </li>
        <li>
          <table class="clearfix">
            <tr><td>
              <img class="headImg" alt="" src="http://profile.ak.facebook.com/v229/421/31/q662915908_6144.jpg"/>
            </td><td>
              <img src="${createLinkTo(dir: 'images', file: 'quote1.gif')}"/>这是一个值得注册的网站，不会后悔的。<img src="${createLinkTo(dir: 'images', file: 'quote2.gif')}"/>
              <span class="byline">- <a target="_blank" href="http://www.grandparents.com/gp/content/toys-gifts-gear/books-educational/article/what-is-wee-web.html">Grandparents.com</a></span>
            </td></tr>
          </table>
        </li>
      </ul>
    </div>
  </div>
  <div class="yui-u">
    <div class="reg_form">
      <div class="reg_form_content">
        <h2>新用户注册</h2>
        <g:if test="${flash.message}">
          <div class="message">${flash.message}</div>
        </g:if>
        <g:form class="signup_form" action="save">
          <fieldset>
            <table>
              <tbody><tr>
                <td>
                  <div class="email field">
                    <label for="email">常用邮箱地址</label>
                    <input id="email" type="text" name='email' value="${person?.email?.encodeAsHTML()}"/>
                    <script type="text/javascript">
                      document.getElementById('email').focus();
                    </script>
                  </div>

                  <div class="username field">
                    <label for="username">用户名</label>
                    <input type="text" id="username" name='username' maxlength="50" value="${person?.username?.encodeAsHTML()}"/>
                  </div>

                  <div class="password field">
                    <label for="passwd">设置登录密码</label>
                    <input id="passwd" type="password" name='passwd'/>
                  </div>

                  <div class="repasswd field">
                    <label for="repasswd">重复密码</label>
                    <input id="repasswd" type="password" name='repasswd'/>
                  </div>

                  <div class="captcha field">
                    <label for="captcha">校验码</label>
                    <input type="text" id="captcha" name="captcha" size="8"/>
                    <img src="${createLink(controller: 'captcha', action: 'index')}" align="absmiddle"/>
                  </div>

                  <div class="continue submit">
                    <input value="注册 »" type="submit" class="btnGrey">
                  </div>

                  <div class="terms greyText">
                    <p>We value your <a href="/privacy?popup=1" class="popup" rel="privacy">privacy</a> and will never spam you.<br>
                      By clicking 'Continue', you agree to the <a href="/terms?popup=1" class="popup" rel="terms">Terms</a>.</p>

                  </div>
                </td>
              </tr>
              </tbody></table>
            <input name="op" value="newmember" type="hidden">
            <input name="submit" value="1" type="hidden">
          </fieldset>
        </g:form>
      </div>
    </div>
  </div>
</div>

</body>
